Package-level declarations

Basic unit of output from parsing, or emitting.

Types

Link copied to clipboard
class AliasEvent @JvmOverloads constructor(val anchor: Anchor?, val startMark: Mark? = null, val endMark: Mark? = null) : NodeEvent

Marks the inclusion of a previously anchored node.

Link copied to clipboard
abstract class CollectionEndEvent : Event

Base class for the end events of the collection nodes.

Link copied to clipboard
abstract class CollectionStartEvent(val anchor: Anchor?, val tag: String?, val implicit: Boolean, val flowStyle: FlowStyle, val startMark: Mark?, val endMark: Mark?) : NodeEvent

Base class for the start events of the collection nodes.

Link copied to clipboard
class CommentEvent(val commentType: CommentType, val value: String, val startMark: Mark?, val endMark: Mark?) : Event

Marks a comment block value.

Link copied to clipboard
class DocumentEndEvent @JvmOverloads constructor(val isExplicit: Boolean, val startMark: Mark? = null, val endMark: Mark? = null) : Event

Marks the end of a document.

Link copied to clipboard
class DocumentStartEvent @JvmOverloads constructor(val explicit: Boolean, val specVersion: SpecVersion?, val tags: Map<String, String>, val startMark: Mark? = null, val endMark: Mark? = null) : Event

Marks the beginning of a document.

Link copied to clipboard
abstract class Event @JvmOverloads constructor(val startMark: Mark? = null, val endMark: Mark? = null)
Link copied to clipboard
class ImplicitTuple(plain: Boolean, nonPlain: Boolean)

The implicit flag of a scalar event is a pair of boolean values that indicate if the tag may be omitted when the scalar is emitted in a plain and non-plain style correspondingly.

Link copied to clipboard

Marks the end of a mapping node.

Link copied to clipboard
class MappingStartEvent @JvmOverloads constructor(val anchor: Anchor?, val tag: String?, val implicit: Boolean, val flowStyle: FlowStyle, val startMark: Mark? = null, val endMark: Mark? = null) : CollectionStartEvent

Marks the beginning of a mapping node.

Link copied to clipboard
abstract class NodeEvent(val anchor: Anchor?, val startMark: Mark?, val endMark: Mark?) : Event

Base class for all events that mark the beginning of a node.

Link copied to clipboard
class ScalarEvent @JvmOverloads constructor(val anchor: Anchor?, val tag: String?, val implicit: ImplicitTuple, val value: String, val scalarStyle: ScalarStyle, val startMark: Mark? = null, val endMark: Mark? = null) : NodeEvent

Marks a scalar value.

Link copied to clipboard

Marks the end of a sequence.

Link copied to clipboard
class SequenceStartEvent @JvmOverloads constructor(val anchor: Anchor?, val tag: String?, val implicit: Boolean, val flowStyle: FlowStyle, val startMark: Mark? = null, val endMark: Mark? = null) : CollectionStartEvent

Marks the beginning of a sequence node.

Link copied to clipboard

Marks the end of a stream that might have contained multiple documents.

Link copied to clipboard

Marks the start of a stream that might contain multiple documents.